package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingPurchaseApplyEntity;

/**
 * 金蝶-采购申请单Mapper接口
 *
 * @author cxl
 * @date 2024-08-31
 */
public interface KingPurchaseApplyMapper extends BaseMapper<KingPurchaseApplyEntity> {
    /**
     * 查询金蝶-采购申请单
     *
     * @param id 金蝶-采购申请单ID
     * @return 金蝶-采购申请单
     */
    public KingPurchaseApplyEntity selectKingPurchaseApplyEntityById(String id);

    /**
     * 查询金蝶-采购申请单列表
     *
     * @param kingPurchaseApplyEntity 金蝶-采购申请单
     * @return 金蝶-采购申请单集合
     */
    public List<KingPurchaseApplyEntity> selectKingPurchaseApplyEntityList(KingPurchaseApplyEntity kingPurchaseApplyEntity);

    /**
     * 新增金蝶-采购申请单
     *
     * @param kingPurchaseApplyEntity 金蝶-采购申请单
     * @return 结果
     */
    public int insertKingPurchaseApplyEntity(KingPurchaseApplyEntity kingPurchaseApplyEntity);

    /**
     * 修改金蝶-采购申请单
     *
     * @param kingPurchaseApplyEntity 金蝶-采购申请单
     * @return 结果
     */
    public int updateKingPurchaseApplyEntity(KingPurchaseApplyEntity kingPurchaseApplyEntity);

    /**
     * 删除金蝶-采购申请单
     *
     * @param id 金蝶-采购申请单ID
     * @return 结果
     */
    public int deleteKingPurchaseApplyEntityById(String id);

    /**
     * 批量删除金蝶-采购申请单
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingPurchaseApplyEntityByIds(String[] ids);
}
